class AddFieldsToComic < ActiveRecord::Migration
  def self.up
    add_column :comics, :volume_id, :integer, :default => 1
	add_column :comics, :chapter_id, :integer, :default => 1
	add_column :comics, :story_id, :integer, :default => 1
	add_column :comics, :two_page, :integer, :default => 0
  end

  def self.down
    remove_column :comics, :volume_id
	remove_column :comics, story_id
	remove_column :comics, chapter_id
	remove_column :comics, :two_page
  end
end
